<?php
header('content-type: text/html; charset=UTF-8');
?>
<html>
	<head>
		<title>乘法表</title>
	</head>
	<body>
		<table border="1">
		<?php 
			for($a=1;$a<=9;$a++){ ?>
			<tr>
				<?php for($b=1;$b<=9;$b++){ ?>
				<td><?php echo $a>=$b?"$a*$b=".($a*$b):" "; ?></td>
				<?php } ?>
			</tr>				
			<?php } ?>				
		</table>
	</body>
</html>